package com.mall.module.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "积分记录视图对象")
public class PointsRecordVO {

    @ApiModelProperty(value = "记录ID")
    private Long recordId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "积分变动")
    private Integer points;

    @ApiModelProperty(value = "变动后积分")
    private Integer afterPoints;

    @ApiModelProperty(value = "变动类型(CONSUME:消费/REFUND:退款/SIGN:签到/TASK:任务)")
    private String changeType;

    @ApiModelProperty(value = "关联订单号")
    private String orderSn;

    @ApiModelProperty(value = "变动描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private String createTime;
} 